import { ccs } from "./services";

export class saveService {

    //游戏需要存档的数据
    workList: [] = null; //当前的玩家所有职业的状态
    loadGame() {
        if(!ccs.gf.getLocalData('workList')){
            return false;
        }
        this.workList = ccs.gf.getLocalData('workList');//加载可以换的工作
        ccs.dataMgr.gameJson.workType = this.workList;
    }
    

}